<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
		<script type="text/javascript" src="../addons/zsk_award/js/jquery.min.js"></script>
		<div class="panel panel-info">
	<div class="panel-heading" style="text-align: center;background-color: #FFCC66;">中奖者信息填写</div>
	<div class="panel-body">
		 <form class="form-horizontal"  id="form1" name="form1" method="post" action="<?php echo $this->createMobileUrl('addWininformation');?>" enctype="multipart/form-data">
		 <input type="hidden" class="form-control" id="openid" name="openid" value="{$openid}" >
		 <input type="hidden" class="form-control" id="awardid" name="awardid" value="{$awardid}" >
		  <input type="hidden" class="form-control" id="res" name="res" value="{$res}" >
		   <input type="hidden" class="form-control" id="awardrecord" name="awardrecord" value="{$awardrecord}" >
		   <div class="form-group">
		    <label for="inputEmail3" class="col-sm-4 control-label">姓名:</label>
		    <div class="col-sm-4">
		    <input type="text" class="form-control" id="name" name="name" >
		    </div> 
		  </div> 
		 <div class="form-group">
		    <label for="inputEmail3" class="col-sm-4 control-label">电话号码:</label>
		    <div class="col-sm-4">
		    <input type="text" class="form-control" id="phonenumber" name="phonenumber" >
		    </div> 
		  </div> 
		 <div class="form-group">
		    <label for="inputEmail3" class="col-sm-4 control-label">地址:</label>
		    <div class="col-sm-4">
		    <input type="text" class="form-control" id="address" name="address" >
		    </div> 
		  </div>
		   <div class="form-group col-xs-12 col-md-12 " style="text-align:center;" >
		    <input type="button"  class="form-control" style="width:
		   100px;margin:0 auto; color: blue;"  value="提交" onclick="sub()" />
		  </div>
		    </form>
	</div>
</div>  
</div>
&nbsp;&nbsp;中奖提示：<br/>
&nbsp;&nbsp;请填写正确的领奖信息，管理员核对后发放奖品
<script type="text/javascript">
function sub(){
	if($("#phonenumber").val()==''){
 alert("姓名不能为空");
 return false;
 }
 if($("#电话号码").val()==''){
 alert("电话号码不能为空");
 return false;
 }
 if($("#address").val()==''){
 alert("地址不能为空");
 return false;
 }
 $("#form1").submit();
}
</script>    
	

